#!/bin/bash


if pwd

then
	echo 'work'
fi








force_improt='yes'


num=22


if [[ $num -gt 33 ]]; then
	echo 大于33
else
	echo 小于33
fi

if [[ $num > 33 ]]; then
	echo 大于33
else
	echo 小于33
fi



if [ $force_improt = 'yes' ]  &&  [[   1 -lt  2  ]] ; then
	echo  "强制导入"
else
	echo  "no  force "
fi







echo  "计算 sky 用户的进程数"
process_num=$(  ps -ef  | grep -c "sky"  );
if [ $process_num  -gt  10   ]
then

echo "sky process num  > 10  ; num  is $process_num "
else
echo  'do nothing'
fi







#自动跑默认当天 ；
30  07-11 * * *  bash  /opt/trx-data-importer/bin/mariadb_load_pos_eticket.sh -e prod  -b gx     >> /opt/trx-data-importer/var/log/mariadb_load_pos_eticket-$(${DATE_TIME_CMD}).log  2>&1





